/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.unifor.sd.bolsa.rmi;

import br.unifor.sd.bolsa.interfaces.RemoteListener;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author Pedro
 */
public interface ServidorRemote extends Remote {

    void comprarAcao(Integer acao, String nomeComprador, Double valor) throws RemoteException;
    void iniciar(ClienteRemote cr) throws RemoteException;
    void addListener(RemoteListener listener) throws RemoteException;
    
}
